package com.ll.domain.dingtalk.biz;

import com.dingtalk.api.DingTalkClient;
import com.dingtalk.api.request.OapiRobotSendRequest;
import com.dingtalk.api.response.OapiRobotSendResponse;
import com.ll.app.api.req.ListSignupReqDTO;
import com.ll.app.api.req.PageCourseReqDTO;
import com.ll.app.api.req.SignupApplyReqDTO;
import com.ll.app.api.req.SignupReqDTO;
import com.ll.base.constant.LlConstants;
import com.ll.base.dto.ApiResultDTO;
import com.ll.base.util.DateUtil;
import com.ll.base.util.ListUtil;
import com.ll.base.util.ScalarUtil;
import com.ll.dal.po.SignupPO;
import com.ll.domain.classbase.dto.CourseDTO;
import com.ll.domain.classbase.enums.CourseStatusEnum;
import com.ll.domain.classbase.enums.SingupStatusEnum;
import com.ll.domain.dingtalk.dto.DingGroupDTO;
import com.ll.domain.user.dto.UserDTO;
import com.taobao.api.ApiException;
import org.apache.commons.codec.binary.Base64;

import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.security.NoSuchAlgorithmException;
import java.util.*;

public interface DingTalkRobotDomainService {


      String buildCourseList() ;

     String buildSignUp(UserDTO userDTO, String content);

     String buildApply(UserDTO userDTO, String content) ;

     String buildCancelApply(UserDTO userDTO, String content);

     String buildDB(UserDTO userDTO, String content);

     boolean checkSign(String timestamp, String sign);

     void sendMsg(DingTalkClient client, String content);
}
